/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.iecg.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 健康档案
 *
 * @author pigx code generator
 * @date 2019-10-17 16:19:05
 */
@Data
@TableName("iecg_user_detail")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "健康档案")
public class IecgUserDetail extends Model<IecgUserDetail> {
private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    @ApiModelProperty(value="主键")
    private Long id;
    /**
     * 居民编号
     */
    @ApiModelProperty(value="居民编号")
    private Long userId;
    /**
     * 药物过敏史
     */
    @ApiModelProperty(value="药物过敏史")
    private String drugAllergy;
    /**
     * 暴露史
     */
    @ApiModelProperty(value="暴露史")
    private String exposed;
    /**
     * 传染病
     */
    @ApiModelProperty(value="传染病")
    private String infectious;
    /**
     * 手术情况
     */
    @ApiModelProperty(value="手术情况")
    private String surgery;
    /**
     * 外伤
     */
    @ApiModelProperty(value="外伤")
    private String trauma;
    /**
     * 输血
     */
    @ApiModelProperty(value="输血")
    private String blood;
    /**
     * 家族史-父亲
     */
    @ApiModelProperty(value="家族史-父亲")
    private String fatherDisease;
    /**
     * 家族史-母亲
     */
    @ApiModelProperty(value="家族史-母亲")
    private String motherDisease;
    /**
     * 家族史-兄弟姐妹
     */
    @ApiModelProperty(value="家族史-兄弟姐妹")
    private String basDisease;
    /**
     * 家族史-子女
     */
    @ApiModelProperty(value="家族史-子女")
    private String childrenDisease;
    /**
     * 遗传病史
     */
    @ApiModelProperty(value="遗传病史")
    private String genetic;
    /**
     * 残疾情况
     */
    @ApiModelProperty(value="残疾情况")
    private String disability;
    /**
     * 房颤
     */
    @ApiModelProperty(value="房颤")
    private String fibrillation;
    /**
     * 短暂性脑缺血发作
     */
    @ApiModelProperty(value="短暂性脑缺血发作")
    private String tia;
    /**
     * 心肌缺血
     */
    @ApiModelProperty(value="心肌缺血")
    private String ischemic;
    /**
     * 心力衰竭
     */
    @ApiModelProperty(value="心力衰竭")
    private String heartFail;
    /**
     * 缺血性心脏病
     */
    @ApiModelProperty(value="缺血性心脏病")
    private String heartDisaseTia;
    /**
     * 动脉硬化
     */
    @ApiModelProperty(value="动脉硬化")
    private String atherosclerosis;
    /**
     * 糖尿病
     */
    @ApiModelProperty(value="糖尿病")
    private String glycuresis;
    /**
     * 颈动脉狭窄
     */
    @ApiModelProperty(value="颈动脉狭窄")
    private String carotid;
    /**
     * 心绞痛
     */
    @ApiModelProperty(value="心绞痛")
    private String angina;
    /**
     * 正常，轻度高血压，中度以上高血压
     */
    @ApiModelProperty(value="正常，轻度高血压，中度以上高血压")
    private String bloodPressure;
    /**
     * 规律，基本规律，不规律
     */
    @ApiModelProperty(value="规律，基本规律，不规律")
    private String habits;
    /**
     * 血糖
     */
    @ApiModelProperty(value="血糖")
    private String bloodSugar;
    /**
     * 血脂
     */
    @ApiModelProperty(value="血脂")
    private String bloodFat;
    /**
     * 饮酒
     */
    @ApiModelProperty(value="饮酒")
    private String drink;
    /**
     * 久坐
     */
    @ApiModelProperty(value="久坐")
    private String sedentary;
    /**
     * 吸烟
     */
    @ApiModelProperty(value="吸烟")
    private String smoke;
    /**
     * 睡眠质量
     */
    @ApiModelProperty(value="睡眠质量")
    private String sleepQuality;
    /**
     * 健康知识
     */
    @ApiModelProperty(value="健康知识")
    private String healthKnowledge;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private LocalDateTime createTime;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private LocalDateTime updateTime;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private String delFalg;
    }
